package cn.com.bluemoon.daps.sync;

import cn.com.bluemoon.common.EnableCustomConfig;
import cn.com.bluemoon.common.swagger.annotation.EnableCustomSwagger2;
import cn.com.bluemoon.daps.api.model.factory.RemoteDapDataModelFieldRenameRecordServiceFallbackFactory;
import cn.com.bluemoon.daps.common.mybatis.EnableCustomMybatis;
import cn.com.bluemoon.metadata.inter.factory.DbMetaDataServiceFallbackFactory;
import cn.hutool.extra.spring.EnableSpringUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@EnableEurekaClient
@SpringBootApplication
@ImportAutoConfiguration(classes = {
        DbMetaDataServiceFallbackFactory.class,
        RemoteDapDataModelFieldRenameRecordServiceFallbackFactory.class,
})
@EnableCustomSwagger2
@EnableCustomConfig
@EnableCustomMybatis
@EnableSpringUtil
public class DapsSyncApplication {

    public static void main(String[] args) {
        SpringApplication.run(DapsSyncApplication.class, args);
    }

}